import axios from "../model/axios";
export const goodsAdd = (data: any) => {
    return axios({
        method: "post",
        url: "/api/goods/add",
        data
    })
}
export const  goodsAddMany = (data:any)=>{
    return axios({
        method:"post",
        url:"/api/goods/insertmany",
        data
    })
}
export const goodsQuery = (data: any) => {
    return axios({
        method: "get",
        url: "/api/goods/list",
        params: data
    })
}
export const goodsDel = (data: any) => {
    return axios({
        method: "delete",
        url: "/api/goods/del",
        data
    })

}
